<ng-template #indicatorTemplate><span nz-icon nzType="loading"></span></ng-template>

@if(pending){
  <div>
    <nz-spin nzSimple [nzIndicator]="indicatorTemplate"></nz-spin>
    {{getPendingText()}}
  </div>
}@else{
  <app-markdown-root [content]="chatModel?.content!"></app-markdown-root>
}
